package com.caocaog.market.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.caocaog.market.entity.OrderLine;

import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

/**
 * 商品订单行表
 *
 * @author jeecg-boot
 * @date 2021-11-29
 */
public interface IOrderLineService extends IService<OrderLine> {

    List<OrderLine> getByOrderId(String orderId);

    LinkedList<HashMap<String, Object>> getSales(String shopId, Integer type);

    Map<String, LinkedList<HashMap<String, Object>>> getOrderAmount(String shopId);

    LinkedList<HashMap<String, Object>> getSumOfBusiness(String shopId);
}
